package com.zzzyh.forumsystemclient.services.impl;

import com.zzzyh.forumsystemclient.dao.NoticeMapper;
import com.zzzyh.forumsystemclient.model.Notice;
import com.zzzyh.forumsystemclient.services.INoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class INoticeServiceImpl implements INoticeService {
    @Autowired
    private NoticeMapper noticeMapper;

    @Override
    public List<Notice> getNotice() {
        return noticeMapper.getNotice();
    }
}
